<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="/common/common.jspf"%>
</head>
<body style="margin: 10px;">
<div>
<OBJECT classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height=0 id=wb name=wb width=0></OBJECT>
	<section class="m-b-md">
		<header style="width: 100%;">	
			<h2 align="center">${userSession.company==null||userSession.company==''?'清炙蕴智能诊疗系统':userSession.company}诊疗方案</h2>
			<br>
			<table style="width: 100%;">
			  <tr style="height: 30px;">
			    <td width="25%">姓名：${caseFromMap.patient_name}</td>
			    <td width="20%">性别：${caseFromMap.patient_sex}</td>
			    <td width="20%">年龄：${caseFromMap.patient_age}</td>
			    <td width="35%">诊号：${caseFromMap.case_no}</td>
			  </tr>
			  <tr style="height: 30px;">
			    <td>日期：${caseFromMap.create_date}</td>
			    <td>地址：${caseFromMap.patient_address}</td>
			  </tr>
			</table>
			<hr style="margin: 0;">
			临床诊断：${caseFromMap.series_name}
			<hr style="margin: 0;">
		</header>
		<article style="width: 100%;text-align: left;height:90%;">
		临床表现：${caseFromMap.symptom}<br>
		辩&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp证：${caseFromMap.conclusion}<br>
		治&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp则：${caseFromMap.cure }<br>
		治疗方案：<br>
		<pre style="margin: 10 10 10 10;font-size: 14px;">${caseFromMap.treatment}</pre><br><br>
		<footer style="width: 100%;">
		<label style="margin-right: 40px;float:right; ">
		医师：${caseFromMap.doctor_name}<br>
		</label>
		</footer>
		</article>
	</section>
</div>
<br>
<div id="printbtns" align="center" style="width: 100%;float: right;">
	<input type="button" class="btn btn-success btn-s-xs" value="打印" onclick="printit();">
	<input type="button" class="btn btn-success btn-s-xs" value="打印设置" onclick="printsetup();">
	<input type="button" class="btn btn-success btn-s-xs" value="打印预览" onclick="printpreview();">
</div>
</body>
<script type="text/javascript">
var btns = document.getElementById("printbtns");
function printsetup(){
	wb.execwb(8,1);
}
function printpreview(){
	btns.style.display='none';
	wb.execwb(7,1);
	btns.style.display='';
}
function printit(){
		btns.style.display='none';
		wb.execwb(6,6);
		btns.style.display='';
}
</script>
</html>